﻿#pragma once

#include <QDialog>
#include "ui_robotcontroldlg.h"
#include "robot/robot.h"

class RobotControlDlg : public QDialog
{
	Q_OBJECT

public:
	RobotControlDlg(QWidget *parent = nullptr);
	~RobotControlDlg();
	bool Init(Robot* m_rob);


private slots:
	void on_pushButton_move_clicked();
	void on_pushButton_grip_clicked();
	void on_pushButton_do_clicked();
	void on_pushButton_pause_clicked();
	void on_pushButton_resum_clicked();
	void on_pushButton_stop_clicked();
private:
	Ui::RobotControlDlg ui;

	Robot* m_rob = nullptr;
};
